﻿<%@ Page Title="配送企业汇总统计" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="true" CodeBehind="Company_PS.aspx.cs" Inherits="HZ.Supervise.Web.Enterprise.Company_PS" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<%--<div id="tabnav">
		<ul>
			<li class="active"><a href="#">配送企业汇总统计</a></li>
		</ul>
	</div>--%>
	<div id="tabcontent">
		<table class="querylist">
			<tr>
				<th >配送企业：</th>
				<td ><asp:TextBox ID="txtCompanyName_PS" runat="server"></asp:TextBox></td>
				<th><asp:Label ID="lblStartTime" runat="server" Text="时间："></asp:Label></th>
				<td>
                     <table>
                        <tr>
							<td style="width:49%"><asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})"></asp:TextBox></td>
                            <td style="width:2%"> -</td>
                            <td style="width:49%"><asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})"></asp:TextBox></td>
                         </tr>
                      </table>
				</td>
				<th >所在地区：</th>
				<td class="area"><uc3:AreaControl ID="ddlArea" runat="server" /></td>
				
			</tr>
			<tr>
				<th>排序字段：</th>
				<td>
					<asp:DropDownList ID="OrderFileds" runat="server" >
						<asp:ListItem Value="PurchaseAmount" Selected="True">采购金额(元)</asp:ListItem>
						<asp:ListItem Value="DistributeAmount">配送金额(元)</asp:ListItem>
						<asp:ListItem Value="WarehouseAmount">入库金额(元)</asp:ListItem>
					</asp:DropDownList>
				</td>
				<th>排序方式：</th>
				<td>
					<asp:DropDownList ID="OrderType" runat="server">
						<asp:ListItem Value="DESC">降序</asp:ListItem>
						<asp:ListItem Value="ASC">升序</asp:ListItem>
					</asp:DropDownList>
				</td>
                <th></th>
                <td >
					<hz:HzButton ID="btnQuery" runat="server" Text="查 询" OnClick="btnQuery_Click" CssClass="btn" />
				</td>
			</tr>
		</table>
	</div>
    <div class="page" >
			<hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
			<%--<hz:HzButton ID="btnPrint" runat="server" CssClass="btn" Text="打印支付单" Visible="false"
				OnClick="btnPrint_Click" />--%>
	</div>
	<asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
		OnRowCommand="gvwInfo_RowCommand" AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
		<Columns>
			<asp:TemplateField HeaderText="序号">
				<ItemTemplate>
					<%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%>
				</ItemTemplate>
				<HeaderStyle Width="30px" />
			</asp:TemplateField>
			<asp:BoundField DataField="rowno" HeaderText="序号" Visible="false" />
			<asp:BoundField DataField="CompanyName" HeaderText="配送企业" />
			<asp:BoundField DataField="PurchaseAmount" HeaderText="订单金额" />
			<asp:BoundField DataField="DistributeAmount" HeaderText="配送金额" />
			<asp:BoundField DataField="WarehouseAmount" HeaderText="入库金额" />
		</Columns>
	</asp:GridView>
      <div class="PageChanged">
			<webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
				OnPageChanged="AspNetPager_CompanyPS_PageChanged">
			</webdiyer:AspNetPager>
      </div>
	<div class="listip">
		<ul>
			<li>说明:<asp:Label ID="lblMemo" runat="server"></asp:Label>
			</li>
		</ul>
	</div>
	
</asp:Content>
